﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Index.Master" AutoEventWireup="true" CodeBehind="BlogDetail.aspx.cs" Inherits="WebSite.B.BlogDetail" EnableEventValidation="false"%>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<%@ Register src="../UserControl/Search.ascx" tagname="Search" tagprefix="uc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
<%=strseo%>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<script type="text/javascript" src="../JS/jquery-1.4.1.js"></script>
<script type="text/javascript" src="../JS/blog.js"></script>
<script type="text/javascript" src="../JS/report.js"></script>
<script type="text/javascript" src="../JS/care.js"></script>
<script type="text/javascript" src="../JS/applyadd.js"></script>
<script type="text/javascript" src="../JS/usercare.js"></script>
<!---搜索--->
<uc1:Search ID="Search1" runat="server" />
<!--搜索框-->
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    
<div class="w-950">
  <div class="w-640 l">
    <div class="l essayblock">
      <h1>
          <asp:Literal ID="litTitle" runat="server"></asp:Literal></h1>
      <p class="source gray6 a-c">
 <span>作者：<a href="<%=userlink %>" target="_blank"><asp:Literal ID="litNickName"
     runat="server"></asp:Literal></a></span>
<span class="time" title="日期">
    <asp:Literal ID="litCreateDate" runat="server"></asp:Literal></span>
<span class="scan pv-num" title="浏览">
    <asp:Literal ID="litPVCount" runat="server"></asp:Literal></span>
<span class="comment comment-page-num" title="评论">
    <asp:Literal ID="litReplyCount" runat="server"></asp:Literal></span>
<span class="sustain dig-ding" title="推荐">
    <asp:Literal ID="litRecommandCount" runat="server"></asp:Literal></span>
    <%--<span><a href="../Blogs/BlogReportDetail.aspx?blogid=<%=blogid%>&bloguserid=<%=youbloguserid%>&height=315;width=510" class="thickbox" ><font color="blue">举报</font></a></span>--%>
    <span><a href="javascript:void(0);" onclick="blogreport('<%=blogid%>','<%=youbloguserid%>')"><font color="blue">举报</font></a></span>
    </p>
    <div class="tool gray6">
        <p class="share l">
        <!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
        <span class="bds_more">分享到：</span>
        <a class="bds_qzone">QQ空间</a>
        <a class="bds_tsina">新浪微博</a>
        <a class="bds_tqq">腾讯微博</a>
        <a class="bds_renren">人人网</a>
        <a class="bds_kaixin001">开心网</a>
        <a class="bds_copy">复制</a>
		<a class="shareCount"></a>
    </div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=600033" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END -->

</p>
      </div>
      <br />
       <asp:Label ID="lblShowPrompt" runat="server"></asp:Label>
        <asp:LinkButton ID="lbContinue" runat="server" ForeColor="Red" 
            onclick="lbContinue_Click">继续查看</asp:LinkButton>
      <div id="content">
          <asp:Literal ID="litMusic" runat="server"></asp:Literal>
          <asp:Label ID="lblContent" runat="server"></asp:Label>

     </div>
     <div class="tag gray6">
     
          <p class="r">
              <asp:HiddenField ID="hidBlogUserID" runat="server" />
              <asp:HiddenField ID="hidBlogTypeID" runat="server" />
              <asp:HiddenField ID="hidID" runat="server" />
              <a class="sc" href="javascript:;" onclick="Favorite('<%=blogid %>',1)" >收藏</a>
          <a class="ding dig-ding" href="javascript:;" onclick="Recommand()">
              <asp:Label ID="lblRecommandCount" runat="server"></asp:Label></a>
              
              </p>
              <asp:Literal ID="litOtherEdit" runat="server"></asp:Literal>
        </div>
        <div class="tag gray6" align="left">
          <p class="l" >
              <asp:Label ID="lblFrontBlog" runat="server"></asp:Label>
              </p><br />
              <p class="l" >
              <asp:Label ID="lblBehindBlog" runat="server"></asp:Label>
              </p>
        </div>
    </div>
    <%--<img src="../images/xiangqingzuo1.jpg"/>--%>
      <asp:Literal ID="litAd1" runat="server"></asp:Literal>
    <%--<iframe width="640px" height="90px" scrolling="no" frameborder="0"  class="mar-t10" src="../loadad.aspx?userid=<%=youbloguserid %>&positionid=11" marginheight="0" marginwidth="0" name="图文内容页_左侧底部相关推荐_上方_640*90"> </iframe>--%><!--图文内容页_左侧底部相关推荐_上方_640*90--> 
    <div class="l essayblock" id="divOther" runat="server">
<h4>同分类相关</h4><br />
    <ul class="lin21 lin21-sj">

    <asp:Repeater ID="rptOtherBlog" runat="server">
        <ItemTemplate>
        <li>    <%#Eval("strVideoPic")%>&nbsp;<a href="../b/<%#Eval("id")%>.aspx" title="<%#Eval("Title")%>"><%#Eval("strTitle")%></a><%#Eval("strHasPic")%></li>
        </ItemTemplate>
        </asp:Repeater>
    </ul>
    </div>
    <div class="l essayblock" id="divCompanyBlog" runat="server">
<h4>同小组其它创作&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=companylink %>"><font style=" font-size:small; font-weight:normal" color="blue">查看更多</font></a></h4><br />
    <ul class="lin21 lin21-sj">

    <asp:Repeater ID="rptCompanyBlog" runat="server">
        <ItemTemplate>
        <li>    <%#Eval("strVideoPic")%>&nbsp;<a href="../b/<%#Eval("id")%>.aspx" title="<%#Eval("Title")%>"><%#Eval("strTitle")%></a><%#Eval("strHasPic")%></li>
        </ItemTemplate>
        </asp:Repeater>
    </ul>
    </div>
    <div class="l essayblock" id="div6" runat="server">
<h4>热门小组&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../CList.aspx" target="_blank"><font style=" font-size:small; font-weight:normal" color="blue">查看更多</font></a></h4><br />
    <ul class="lin21 lin21-sj">

    <asp:DataList ID="dlCompanyList" runat="server" Width="100%" CellPadding="5" 
            CellSpacing="10" RepeatColumns="2" RepeatDirection="Horizontal">
        <ItemTemplate>
        <p class="post_item_summary"><a href="../c/<%#Eval("ID")%>.aspx" target="_blank" title="<%#Eval("Brief")%>"><img align="left" width="48" height="48" class="pfs" src="<%#Eval("SmallHeadImage")%>"/></a><a href="../c/<%#Eval("ID")%>.aspx" target="_blank" style="font-size:large" title="<%#Eval("Brief")%>"><%#Eval("CompanyName")%></a><br />收视量<%#Eval("BlogPVNum")%></p>
        </ItemTemplate>
        </asp:DataList>  
    </ul>
    </div>
	 <!---评论--->
		 <!---评论--->
	<div  id="comments" class="w-640 l"><a name="commenta"></a>
<div class="comment" total="0" itemid="57590" itemtype="cmstop_content" pagesize="10" order="default" version="4">
	<div class="hd comment-title">
		<h4><span class="unfold">评论</span><span class="comment-title-num"><asp:Literal ID="litUserReplyCount"
                runat="server"></asp:Literal></span>条</h4>
		<span class="tips" id="logins" runat="server">
			<%--<a href="../UserSetting/LoginSmall.aspx?height=315;width=510" title="小窗口登录" class="thickbox">登录</a>--%>
            <a href="javascript:void(0);" onclick="loginsmall()">登录</a>
		</span>
       
	</div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <div class="bd comment-form">		
        <asp:TextBox ID="txtReply" runat="server" TextMode="MultiLine"></asp:TextBox>
			<div class="cmttool comment-faces">				
				<span class="faces comment-face-btn">
					
				</span>
				<span class="subtip comment-buttons">
                    <asp:Button ID="btnSubmit" class="subbtn comment-submit" runat="server" 
                    Text="提交" onclick="btnSubmit_Click" OnClientClick="return ReplyAdd()"/>
					
				</span>
			</div>
		
		<ul class="cmtlist comment-entries">
        <asp:HiddenField ID="hidToUserID" runat="server"/>
            <asp:Repeater ID="rptReply" runat="server">
            <ItemTemplate>
            <li class="comment-entry"> 
            <div class="userpic"><a href="../u/<%#Eval("UsersID")%>.aspx" target="_blank"><img src="<%#Eval("headphoto")%>" width="50" height="50" class="comment-avatar" alt="头像" not_fix_png="yes"/></a></div>
            <div class="txt">
            <p class="comment-content-wrapper">
            <a href="../u/<%#Eval("UsersID")%>.aspx" target="_blank"><span class="username comment-username"><%#Eval("NickName") %></span></a>
            <span class="comment-content"><%#Eval("ReplyContent")%></span>
            </p>
            <p class="note comment-info">
            <span class="date comment-date"><%# DataBinder.Eval(Container.DataItem,"CreateDate","{0:yyyy-MM-dd HH:mm}") %></span>
            <span class="viewpf"><span class="comment-reply-btn">
               <a href="javascript:void(0);" onclick="Reply('<%#Eval("NickName") %>','<%#Eval("UsersID")%>')">回复</a></span></span>
            </p>
            </div>
            </li>
            </ItemTemplate>
            </asp:Repeater>
		</ul>

        
	</div>
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="btnSubmit" EventName="Click"/>
    </Triggers>
    </asp:UpdatePanel>
</div>
</div>

    </div>


  <!---右边--->
   <div class="w-300 r">
   <div class=" w-248 mar-t10" style="float:right; clear:right;">
                    <h2><a href="../Blogs/BlogAdd.aspx" target="_blank"><font color="#C08342">开始你的掘金计划</font></a></h2>
                </div>
                 <div id="Div8" class="w-298 mar-t10">
        <asp:Literal ID="litAd5" runat="server"></asp:Literal>
      <%--<iframe width="300px" height="250px" scrolling="no" frameborder="0" class="mar-t10" src="../loadad.aspx?userid=<%=youbloguserid %>&positionid=15" marginheight="0" marginwidth="0" name="图文内容页_左侧底部相关推荐_上方_300*90"> </iframe>--%>
    </div>
                <div id="divCompany" runat="server" class="bor-yellow w-298 mar-t10" >
      <h2>小组简介</h2>
      <ul style="padding-left:10px; padding-bottom:10px; padding-right:10px; padding-top:0px">
      <dl class="content-dl">
      <p style="padding:5px 0px 5px 0px" ><a href="<%=companylink %>" target="_blank"><asp:Image ID="imgCompanyHead" runat="server" Width="150" Height="150" ToolTip="小组头像"/></a></p>
      <dt>
          <a href="<%=companylink %>" target="_blank"><asp:Literal ID="litCompanyName" runat="server"></asp:Literal></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=companylink %>"><font style=" font-size:small; font-weight:normal" color="blue">查看更多</font></a>
          <asp:HiddenField ID="hidCompanyID" runat="server" />
          <asp:HiddenField ID="hidObjectID" runat="server" />
          <asp:HiddenField ID="hidObjectType" runat="server" Value='1'/>
          </dt>
      <dd>
      
        <p>
            <asp:Literal ID="litCompanyBrief" runat="server"></asp:Literal>
            <asp:HiddenField ID="HiddenField1" runat="server" Value='0'/>
             <p style="color:Red"><a href="<%=ownerlink %>" target="_blank" style="color:Red">组长：<asp:Literal ID="litOwnerNickName" runat="server"></asp:Literal></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0);" onclick="sendmessage('<%=companyowneruserid%>')"  style="color:green">给组长发消息</a></p>
            <p style="color:Red">收视量：<asp:Literal ID="litCompanyBlogPVNum" runat="server"></asp:Literal></p>
            <p style="color:Red">成员：<asp:Literal ID="litUserNum" runat="server"></asp:Literal></p>
            <p style="color:Red">关注人数：<asp:Literal ID="litCareNum" runat="server"></asp:Literal></p>
            <p style="color:Green">小组公告：<asp:Literal ID="litCompanyNotice" runat="server"></asp:Literal></p><br />
            <p><a href="../Blogs/BlogAdd.aspx?companyid=<%=blogcompanyid %>" target="_blank"><font color="blue">马上开始组内创作</font></a></p>
            <p><a href="<%=userlink %>" target="_blank"><font color="blue">作者：<asp:Literal ID="litNickName3" runat="server"></asp:Literal>&nbsp; &nbsp;查看更多</font></a></p>
            <br />
            <a href="javascript:void(0);" onclick="UserCare()"><img alt="关注小组，更新信息出现在关注动态中" src="../images/carecompany.jpg" border="0"/></a>
           <a href="javascript:void(0);" onclick="ApplyAdd()"><img alt="申请加入该小组，加入后可以作为成员进行创作" src="../images/companyadd.jpg" border="0"/></a>
            <a href="javascript:void(0);" onclick="Favorite('<%=blogcompanyid %>',2)"><img src="../images/shoucang.jpg" alt="收藏该小组"/></a>
            </p>
      </dd>
    </dl>
      </ul>
    </div>
      <div id="divPerson" runat="server" class="bor-yellow w-298 mar-t10">
      <h2>个人简介</h2>
      <ul style="padding-left:10px; padding-bottom:10px; padding-right:10px; padding-top:0px">
      <dl class="content-dl">
      <p style="padding:5px 0px 5px 0px"><a href="<%=userlink %>" target="_blank"><asp:Image ID="imghead" runat="server" Width="150" Height="150" ToolTip="个人头像"/></a></p>
      <dt><a href="<%=userlink %>" target="_blank">
          <asp:Literal ID="litNickName1" runat="server"></asp:Literal></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font style=" font-size:small; font-weight:normal" color="red">等级：<asp:Literal ID="litRoleName" runat="server"></asp:Literal></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=userlink %>" target="_blank"><font style=" font-size:small; font-weight:normal" color="blue">查看更多</font></a></dt>
          

      <dd>
        <p>
            <asp:Literal ID="litBrief" runat="server"></asp:Literal>
            <p style="color:Red">收视量：<asp:Literal ID="litBlogPVNum" runat="server"></asp:Literal></p>
            <a href="../Care/BeCareList.aspx?id=<%=youbloguserid %>"><p style="color:Red">关注他：<asp:Literal ID="litToBeFriendNum" runat="server"></asp:Literal>人</p></a>
            <a href="../Care/CareList.aspx?id=<%=youbloguserid %>"><p style="color:Red">他关注：<asp:Literal ID="litFrinedNum" runat="server"></asp:Literal>人</p></a>
            <a href="<%=userlink %>"><p style="color:Red">作品共：<asp:Literal ID="litBlogNum" runat="server"></asp:Literal>篇</p></a><br />
            <a href="javascript:void(0);" onclick="Care()"><img alt="加关注，关注后信息会出现在关注动态中" src="../images/care.jpg" border="0"/></a>
            <%--<a href="../UserSetting/SendMessage.aspx?touserid=<%=youbloguserid%>&height=315;width=510" class="thickbox" ><img alt="发送短消息" src="../images/sendmessage.jpg" border="0"/></a>--%>
            <asp:HiddenField ID="hidCurrentUserID" runat="server" Value='0'/>
            <a href="javascript:void(0);" onclick="sendmessage('<%=youbloguserid%>')"><img alt="发送短消息" src="../images/sendmessage.jpg" border="0"/></a>
            </p>
      </dd>
    </dl>
      </ul>
    </div>
    
    <div id="Div4" class="w-298 mar-t10">
        <asp:Literal ID="litAd2" runat="server"></asp:Literal>
      <%--<iframe width="300px" height="250px" scrolling="no" frameborder="0" class="mar-t10" src="../loadad.aspx?userid=<%=youbloguserid %>&positionid=12" marginheight="0" marginwidth="0" name="图文内容页_左侧底部相关推荐_上方_300*90"> </iframe>--%>
    </div>
    
    <div id="Div3" class="index-bor-yellow w-298 mar-t10">
      <h2>关键字</h2>
      <ul class="lin21 pad-lr10 lin21-sj">
          <asp:HiddenField ID="hidKeyWord" runat="server" />
          <asp:Literal ID="litKeyWord" runat="server"></asp:Literal>
      </ul>
    </div>
    <div id="Div5" class="w-298 mar-t10">
        <asp:Literal ID="litAd3" runat="server"></asp:Literal>
      <%--<iframe width="300px" height="90px" scrolling="no" frameborder="0" class="mar-t10" src="../loadad.aspx?userid=<%=youbloguserid %>&positionid=13" marginheight="0" marginwidth="0" name="图文内容页_左侧底部相关推荐_上方_300*90"> </iframe>--%>
    </div>
    <div id="Div1" class="index-bor-yellow w-298 mar-t10">
      <h2>作者最新创作</h2>
      <ul class="lin21 pad-lr10 lin21-sj">
          <asp:Repeater ID="rptUserBlog" runat="server">
          <ItemTemplate>
           <li><%#Eval("strVideoPic")%>&nbsp;<a href="../b/<%#Eval("id")%>.aspx" title="<%#Eval("Title")%>"><%#Eval("strTitle")%></a><%#Eval("strHasPic")%></li>
          </ItemTemplate>
          </asp:Repeater>
      </ul>
    </div>
    <div id="Div7" class="w-298 mar-t10">
        <asp:Literal ID="litAd4" runat="server"></asp:Literal>
      <%--<iframe width="300px" height="90px" scrolling="no" frameborder="0" class="mar-t10" src="../loadad.aspx?userid=<%=youbloguserid %>&positionid=14" marginheight="0" marginwidth="0" name="图文内容页_左侧底部相关推荐_上方_300*90"> </iframe>--%>
    </div>
    <div id="Div2" class="index-bor-yellow w-298 mar-t10">
    <h2><asp:Literal ID="litNickName2" runat="server"></asp:Literal></h2>
    <ul class="lin21 pad-lr10 lin21-sj">
        <asp:Repeater ID="rptRecommandOrder" runat="server">
        <ItemTemplate>
        <li>    <%#Eval("strVideoPic")%>&nbsp;<a href="../b/<%#Eval("id")%>.aspx" title="<%#Eval("Title")%>"><%#Eval("strTitle")%></a><%#Eval("strHasPic")%></li>
        </ItemTemplate>
        </asp:Repeater>
        
    </ul>
  </div>
  
   
    <%--<div id="divCompanyBlog" class="index-bor-yellow w-298 mar-t10" runat="server">
    <h2>同小组其它创作</h2>
    <ul class="lin21 pad-lr10 lin21-sj">
        <asp:Repeater ID="rptCompanyBlog" runat="server">
        <ItemTemplate>
        <li>    <%#Eval("strVideoPic")%>&nbsp;<a href="../b/<%#Eval("id")%>.aspx" title="<%#Eval("Title")%>"><%#Eval("strTitle")%></a><%#Eval("strHasPic")%></li>
        </ItemTemplate>
        </asp:Repeater>
        
    </ul>
  </div>--%>
    <div id="Div9" class="w-298 mar-t10">
        <asp:Literal ID="litAd6" runat="server"></asp:Literal>
      <%--<iframe width="300px" height="250px" scrolling="no" frameborder="0" class="mar-t10" src="../loadad.aspx?userid=<%=youbloguserid %>&positionid=16" marginheight="0" marginwidth="0" name="图文内容页_左侧底部相关推荐_上方_300*90"> </iframe>--%>
    </div>
   
  </div>
</div>
</asp:Content>